package com.yc.bean;

import lombok.Data;

import java.io.Serializable;

/*sId INT AUTO_INCREMENT PRIMARY KEY,
sBrand VARCHAR(255) NOT NULL,
sGender ENUM('男', '女') NOT NULL,
sSize VARCHAR(10) NOT NULL,
sColor VARCHAR(100),
sStyle VARCHAR(255),
sPrice DECIMAL(10, 2) NOT NULL,
sDescription VARCHAR(2000),
sStockQuantity INT DEFAULT 0
*/
@Data
public class Shoes implements Serializable {
    private Integer sid;
    private String sbrand;
    private String sgender;
    private String ssize;
    private String scolor;
    private String style;
    private Double sprice;
    private String sdescription;
    private Integer sstockquantity;

    //图片表信息
    private String photourl;
    private String ismain;

    //添加一个属性，点赞数        这个属性的值是redis提供的，不是数据库
    private long likes;
    //点赞图标的状态显示属性
    private boolean liked;
}
